<!DOCTYPE html>
<html lang="en" style="overflow: hidden">
<head>
    <meta charset="UTF-8">
    <title>参数配置</title>
    <link rel="stylesheet" type="text/css" href="../css/body.css">
    <link rel="stylesheet" type="text/css" href="../css/list.css">
    <link rel="stylesheet" type="text/css" href="../css/float_box.css">
    <script src="https://component.criver.world/js/crlog.js"></script>
</head>
<body>
<div class="float_box">
    <div class="list">
        <div class="row">
            <p class="title_1">新玩家配置：</p>
        </div>
        <div class="row">
            <p class="content">昵称：</p>
            <input id="nuNickname" type="text" placeholder="玩家昵称"/>
            <p class="tip">长度不得超过24个字符。指代：{uid}>用户id</p>
        </div>
        <div class="row">
            <p class="content">能量：</p>
            <input id="nuEnergy" type="number" min="0" placeholder="玩家能量数值"/>
        </div>
        <div class="row">
            <p class="content">宠物：</p>
            <select id="nuPet" class=""></select>
        </div>
        <div class="row">
            <button onclick="window.affirmPopWindow('确认修改','是否修改新玩家配置信息？',fun.updatePlayerProperties)">保存修改</button>
        </div>

    </div>
</div>
<div class="float_box">
    <div class="list">
        <div class="row">
            <p class="title_1">扫描配置：</p>
        </div>
        <div class="row">
            <p class="content">消耗：</p>
            <input id="expendEnergy" type="number" min="0" placeholder="能量值"/>
            <p class="tip">扫描一次要消耗的能量数</p>
        </div>
        <div class="row">
            <p class="title_2">扫描种类概率配置：</p>
        </div>
        <div class="row">
            <p class="content">能量概率：</p>
            <input id="proEnergy" type="number" min="0" max="1" placeholder="概率"/>
            <p class="tip">概率范围0-1</p>
            <input id="proEnergyAward" style="margin-left: 16px" type="number" min="0" placeholder="能量"/>
            <p class="tip">奖励的能量数值</p>
        </div>
        <div class="row">
            <p class="content">物品概率：</p>
            <input id="proGoods" type="number" min="0" max="1" placeholder="概率"/>
            <p class="tip">概率范围0-1</p>
        </div>
        <div class="row">
            <p class="content">宠物概率：</p>
            <input id="proPet" type="number" min="0" max="1" placeholder="概率"/>
            <p class="tip">概率范围0-1</p>
        </div>
        <div class="row">
            <p class="content">商人概率：</p>
            <input id="proBusinessman" type="number" min="0" max="1" placeholder="概率"/>
            <p class="tip">概率范围0-1</p>
        </div>
        <div class="row">
            <p class="content">玩家概率：</p>
            <input id="proPlayer" type="number" min="0" max="1" placeholder="概率"/>
            <p class="tip">概率范围0-1</p>
        </div>
        <div class="row">
            <button onclick="window.affirmPopWindow('确认修改','是否修改搜寻配置信息？',fun.updateScanProperties)">保存修改</button>
        </div>
    </div>
</div>
<div class="float_box">
    <div class="list">
        <div class="row">
            <p class="title_1">启动壁纸配置：(点击图片更换)</p>
        </div>
        <div class="row">
            <img id="background_img" src="/data/other/loading.png" alt="" style="width: 50%;margin-left: 25%" onclick="fun.openImg()">
        </div>
        <div class="row">
            <button onclick="window.affirmPopWindow('确认修改','是否修改启动界面配置信息？',fun.updateLoadingImg)">保存修改</button>
        </div>
    </div>
</div>
<div class="float_box">
    <div class="list">
        <div class="row">
            <p class="title_1">背景音乐配置：</p>
        </div>
        <div class="row">
            <img src="../material/music.png" alt="" style="width: 28px;float: left">
            <p class="button_gray" onclick="fun.openBackgroundBgm()">更换音乐</p>
            <p class="button_gray" onclick="fun.playBackgroundBgm(this)">播放试听</p>
            <audio id="background_bgm" src="" ></audio>
        </div>
        <div class="row">
            <button onclick="window.affirmPopWindow('确认修改','是否修改背景音乐配置信息？',fun.updateBackgroundBgm)">保存修改</button>
        </div>
    </div>
</div>
</body>
<script src="../js/cache.js"></script>
<script src="../js/affirmPopWindow.js"></script>
<script src="../js/menu5.js"></script>
</html>